package com.sai.jsai.module.auth.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jisai
 * @version 0.0.1
 * @Description TODO
 * @createTime 2024/09/21
 */
@Schema(description = "登录认证 - 登录响应VO")
@Data
public class LoginRespVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    /**
     * 访问令牌
     */
    @Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED)
    private String token;

    /**
     * 令牌过期时间
     */
    @Schema(description = "令牌过期时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long tokenExpiration;

}
